package com.TripMate.system.service;

import com.TripMate.system.model.dto.post.PostQueryRequest;
import com.TripMate.system.model.entity.Post;
import com.TripMate.system.model.vo.PostVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author dongmianyan
* @description 针对表【post(文案表)】的数据库操作Service
* @createDate 2024-11-30 11:38:04
*/
public interface PostService extends IService<Post> {

    Page<PostVO> getQueryByAll(Page<PostVO> pageParam, PostQueryRequest postQueryRequest);

    Page<PostVO> getQueryByMy(Page<PostVO> pageParam, PostQueryRequest postQueryRequest, Long userId);
}
